﻿using System.Web;
using System.Web.Optimization;

namespace NTQOnlineExamFrontend
{
    public class BundleConfig
    {
        // For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                        "~/Scripts/jquery-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
                        "~/Scripts/jquery-ui-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                        "~/Scripts/jquery.unobtrusive*",
                        "~/Scripts/jquery.validate*"));

            bundles.Add(new ScriptBundle("~/content/Bootstrap/css").Include(
                        "~/Content/bootstrap.css"));

            bundles.Add(new ScriptBundle("~/bundles/Responsive").Include(
                        "~/Scripts/Responsive/bootstrap-transition.js",
                        "~/Scripts/Responsive/bootstrap-alert.js",
                        "~/Scripts/Responsive/bootstrap-dropdown.js",
                        "~/Scripts/Responsive/bootstrap-scrollspy.js",
                        "~/Scripts/Responsive/bootstrap-tooltip.js",
                        "~/Scripts/Responsive/bootstrap-popover.js",
                        "~/Scripts/Responsive/bootstrap-button.js",
                        "~/Scripts/Responsive/bootstrap-typeahead.js",
                        "~/Scripts/Responsive/chosen.jquery.min.js",
                        "~/Scripts/Responsive/jquery.uniform.min.js",
                        "~/Scripts/Responsive/jquery.colorbox.min.js",
                        "~/Scripts/Responsive/jquery.noty.js",

                        "~/Scripts/Responsive/themes/default.js",
                        "~/Scripts/Responsive/layouts/topRight.js",
                        "~/Scripts/Responsive/layouts/topLeft.js",
                        "~/Scripts/Responsive/layouts/top.js",

                        "~/Scripts/Responsive/jquery.raty.min.js",
                        "~/Scripts/Responsive/jquery.history.js",
                        "~/Scripts/Responsive/jquery.autogrow-textarea.js",
                        "~/Scripts/Responsive/jquery.cookie.js",
                        "~/Scripts/Responsive/autogrow-textarea.js"));

            bundles.Add(new ScriptBundle("~/bundles/Responsive/Charisma").Include(
                        "~/Scripts/Responsive/charisma.js"));

            bundles.Add(new ScriptBundle("~/bundles/Examination").Include(
                        "~/Scripts/Examination.js"));

            bundles.Add(new ScriptBundle("~/bundles/Countdown").Include(
                        "~/Scripts/jquery.countdown.js"));

            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                        "~/Scripts/modernizr-*"));

            bundles.Add(new StyleBundle("~/Content/css").Include("~/Content/site.css"));

            bundles.Add(new StyleBundle("~/Content/themes/base/css").Include(
                        "~/Content/themes/base/jquery.ui.core.css",
                        "~/Content/themes/base/jquery.ui.dialog.css",
                        "~/Content/themes/base/jquery.ui.theme.css"));

            bundles.Add(new StyleBundle("~/Content/Responsive/css").Include(
                        "~/Content/Responsive/bootstrap-responsive.css",
                        "~/Content/Responsive/charisma-app.css",
                        "~/Content/Responsive/fullcalendar.css",
                        "~/Content/Responsive/fullcalendar.print.css",
                        "~/Content/Responsive/chosen.css",
                        "~/Content/Responsive/uniform.default.css",
                        "~/Content/Responsive/colorbox.css",
                        "~/Content/Responsive/noty_theme_default.css",
                        "~/Content/Responsive/jquery.iphone.toggle.css"));

            bundles.Add(new ScriptBundle("~/bundles/jtable").Include(
                        "~/Scripts/jtable/jquery.jtable.min.js"));

            bundles.Add(new StyleBundle("~/Content/JtableTheme").Include(
                        "~/Content/themes/metroblue/jquery-ui.css",
                        "~/Scripts/jtable/themes/metro/red/jtable.css"));
        }
    }
}